
cc.Class({
    extends: cc.Component,

    properties: {
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        this.node.on('myEvent', function (e) {
            cc.log('event is caught by:' + this.node.name);
        }, this)
    },

    start () {

    },

    // update (dt) {},
});
